<%-- 
    Document   : showHospitalDetails
    Created on : 1 Nov, 2012, 4:41:11 PM
    Author     : santosh
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@include file="../common/script.jsp" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <%@include file="../common/title.jsp" %>
    </head>
    <body>
        <%@include file="../common/header.jsp" %>
        <%@include file="../common/menu.jsp" %>
        <div class="in_02">
            <%@include file="../common/message.jsp" %>
            <form:form id="form1" modelAttribute="hospital" method="GET">

                <fieldset>
                    <legend><spring:message code="title.infoHospital"/></legend>
                    <table class="formTable">
                        <tr>
                            <td><spring:message code="hospitalName"/>:<br/>
                                <form:input path="hospitalName" id="hospitalName" readonly="true" cssClass="userInputLarge"/></td>

                            <td><spring:message code="level"/>:<br/>
                                <form:input path="level" id="level" readonly="true" cssClass="userInputLarge"/></td> 
                            
                            <td><spring:message code="speciality"/>:<br/>
                                <form:input path="speciality" id="speciality" readonly="true" cssClass="userInputLarge"/><br/>
                                <span id="errorsDiv_speciality"></span><br/></td>
                        </tr>
                        <tr>
                            <td><spring:message code="contact1"/>:<br/>
                                <form:input path="contact1" id="contact1" readonly="true" cssClass="userInputLarge"/></td>

                            <td><spring:message code="contact2"/>:<br/>
                                <form:input path="contact2" id="contact2" readonly="true" cssClass="userInputLarge"/></td>

                            <td><spring:message code="contact3"/>:<br/>
                                <form:input path="contact3" id="contact3" readonly="true" cssClass="userInputLarge"/></td>
                            
                        </tr>
                    </table>
                </fieldset>

                <fieldset>
                    <legend><spring:message code="title.serviceHospital"/></legend>
                    <table class="formTable">
                        <tr>
                            <td><spring:message code="bedDesc"/>:<br/>
                                <form:input path="bedDesc" id="bedDesc" readonly="true" cssClass="userInputLarge"/></td>

                            <td><spring:message code="tieUpStage"/>:<br/>
                                <form:input path="tieUpStage" id="tieUpStage" readonly="true" cssClass="userInputLarge"/></td>

                         
                            <td><spring:message code="ambulanceService"/>:<br/>
                                <form:input path="ambulanceService" id="ambulanceService" readonly="true" cssClass="userInputLarge"/></td>
                                <span id="errorsDiv_ambulanceService"></span><br/>
                            </td>
                           
                        
                        </tr>
                    </table>
                </fieldset>

                <fieldset>
                    <legend><spring:message code="title.disHospital"/></legend>
                    <table class="formTable">
                        <tr>
                            <td><spring:message code="ipd"/>:<br/>
                                <form:input path="ipd" id="ipd" readonly="true" cssClass="userInputLarge"/></td>

                            <td><spring:message code="opd"/>:<br/>
                                <form:input path="opd" id="opd" readonly="true" cssClass="userInputLarge"/></td>

                            <td><spring:message code="dayCare"/>:<br/>
                                <form:input path="dayCare" id="dayCare" readonly="true" cssClass="userInputLarge"/></td>

                        </tr>
                        <tr>
                            <td><spring:message code="diagnostics"/>:<br/>
                                <form:input path="diagnostics" id="diagnostics" readonly="true" cssClass="userInputLarge"/></td>
                        </tr>
                    </table>
                </fieldset>

                <fieldset>
                    <legend><spring:message code="title.addressHospital"/></legend>

                    <spring:message code="hospitalAddress"/>:<br/>
                    <form:textarea path="hospitalAddress" id="address" type="text" readonly="true" cssClass="userInputForm"/>

                    <table class="formTable">
                        <tr>
                            <td>Zone:<br/>
                                <form:select  path="zoneId.zoneId" id="zoneId"  disabled="true">
                                    <form:option value="" label="-"></form:option>
                                    <form:options items="${zoneList}" itemLabel="zoneName" itemValue="zoneId" cssClass="userInputLarge"></form:options>
                                </form:select></td>

                            <td>Master zone:<br/>
                                <form:select  path="zoneId.masterZoneId.masterZoneId" id="masterZoneId"  disabled="true">
                                    <form:option value="" label="-"></form:option>
                                    <form:options items="${masterZoneList}" itemLabel="masterZoneCode" itemValue="masterZoneId" cssClass="userInputLarge"></form:options>
                                </form:select></td>

                            <td>City:<br/>
                                <form:select  path="zoneId.masterZoneId.cityId.cityId" id="cityId"  disabled="true">
                                    <form:option value="" label="-"></form:option>
                                    <form:options items="${cityList}" itemLabel="cityName" itemValue="cityId" cssClass="userInputLarge"></form:options>
                                </form:select></td>
                        </tr>
                        <tr>
                            <td>State:<br/>
                                <form:select  path="zoneId.masterZoneId.cityId.stateId.stateId" id="stateId"  disabled="true">
                                    <form:option value="" label="-"></form:option>
                                    <form:options items="${stateList}" itemLabel="stateName" itemValue="stateId" cssClass="userInputLarge"></form:options>
                                </form:select></td>
                        </tr>
                        <tr>
                            <td><input type="button" name="btnCancel" value="<spring:message code="button.Back"/>" onclick="location.href='../hospital/listHospital.htm'" /></td>   
                            </tr>
                    </table>
                </fieldset>
            </form:form>
        </div>
    </body>
</html>
